#ifndef PARAMDELETE_H
#define PARAMDELETE_H

#include <QWidget>
#include <QPaintEvent>
#include <QPainter>
#include "blldataflow.h"
#include "sqlhelper.h"
#include "globaldef.h"

namespace Ui {
class ParamDelete;
}

class ParamDelete : public QWidget
{
    Q_OBJECT

public:
    explicit ParamDelete(QWidget *parent = nullptr);
    ~ParamDelete();
    void setParameter(const Parameter &parameter);

private slots:
    void on_btnConfirm_clicked();

    void on_btnCancel_clicked();

    void on_btnClose_clicked();
    void retranslateUiSlot();

protected:
    void paintEvent(QPaintEvent *event);

private:
    Ui::ParamDelete *ui;
    BllDataFlow * bdf;
    SqlHelper * sqlHelper;
    Parameter param;
};

#endif // PARAMDELETE_H
